package com.mj.haier.rrskx.repository;

import java.util.Optional;

import com.mj.haier.rrskx.domain.CarsInfo;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;


/**
 * Spring Data  repository for the CarsInfo entity.
 */
@SuppressWarnings("unused")
@Repository
public interface CarsInfoRepository extends JpaRepository<CarsInfo, String> {

    Optional<CarsInfo> findByCarsId(String carsId);

    void deleteByCarsId(String carsId);
}
